package org.openclinic.repository;

import java.util.List;

import org.openclinic.domain.Document;
import org.springframework.data.jpa.repository.JpaRepository;

public interface DocumentRepository extends JpaRepository<Document, Long> {

	List<Document> findByAppointmentAppointmentIdAndType(long appointmentId, int type);
	
}
